<script>
function verificaPJ(valor){
    if(valor == 'PJ'){
    document.getElementById("idNomeEmpresa").disabled = false;
    document.getElementById("idCnpjEmpresa").disabled = false;
    }else{
    document.getElementById("idNomeEmpresa").disabled = true;
    document.getElementById("idNomeEmpresa").value = "";
    document.getElementById("idCnpjEmpresa").disabled = true;
    document.getElementById("idCnpjEmpresa").value = "";
    }
}
</script>